import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
		user:null,
		currentMusic:{},
	},
    mutations: {
		setUser(state,payload){
			state.user=payload
		},
		setCurrentMusic(state,payload){
			state.currentMusic=payload
		},
	},
    actions: {}
})
export default store